goods_info = {
    101: {"name": "无尽之刃", "price": 3600},
    102: {"name": "泣血", "price": 3200},
    103: {"name": "魔女", "price": 1300},
    104: {"name": "痛苦面具", "price": 720},
    105: {"name": "电刀", "price": 2800},
    106: {"name": "守护天使", "price": 1400},
}

def print_info():
    print("欢迎来到商店")
    print("请交易")
    print("-----------------")
    for key,val in goods_info.items():
        print("编号：{}, 名称：{}, 单价：{}".format(key, val['name'], val['price']))
    print("-----------------")
    input("请输入购买的商品编号和数量")


def main():
    ## 1、输出介绍信息
    print_info()

    ## 2、获取编号和数量
    get_cid_count()

    ## 3、获取总价
    get_total_price()

    ## 4、支付
    pay()
